package com.team.six.bluecatshop.service;

import com.team.six.bluecatshop.domain.Address;
import com.team.six.bluecatshop.domain.Customer;

import java.util.List;

public interface AddressService {
    /*
     * 增加或修改一个地址
     * */
    void addAddress(Customer customer, String customerAddress);

    /**
     * 根据用户Id去查
     */
    List<Address> findAddressByCustomerId(String customerId);

    void updateByPrimaryKeySelective(Address address);

    void insert(Address address);
    Integer deleteByPrimaryKey(String id);
}
